package com.ruoyi.system.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 产品对象 pur_product
 * 
 * @author bhl
 * @date 2022-04-09
 */
public class PurProduct extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 主键 */
    private Integer id;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String name;

    /** 规格 */
    @Excel(name = "规格")
    private String norms;

    /** 单位 */
    @Excel(name = "单位")
    private String unit;

    /** 生产厂家 */
    @Excel(name = "生产厂家")
    private String factory;

    private String stocktotal;
    private String shipmenttotal;

    public void setId(Integer id) 
    {
        this.id = id;
    }

    public Integer getId() 
    {
        return id;
    }
    public void setName(String name) 
    {
        this.name = name;
    }

    public String getName() 
    {
        return name;
    }
    public void setNorms(String norms) 
    {
        this.norms = norms;
    }

    public String getNorms() 
    {
        return norms;
    }
    public void setUnit(String unit) 
    {
        this.unit = unit;
    }

    public String getUnit() 
    {
        return unit;
    }
    public void setFactory(String factory) 
    {
        this.factory = factory;
    }

    public String getFactory() 
    {
        return factory;
    }

    public String getStocktotal() {
        return stocktotal;
    }

    public void setStocktotal(String stocktotal) {
        this.stocktotal = stocktotal;
    }

    public String getShipmenttotal() {
        return shipmenttotal;
    }

    public void setShipmenttotal(String shipmenttotal) {
        this.shipmenttotal = shipmenttotal;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("name", getName())
            .append("norms", getNorms())
            .append("unit", getUnit())
            .append("factory", getFactory())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
